#include "pm_trigger_impl.hpp"

/*---------------------------------------------------------------------------*/

namespace ProjectManager {

/*---------------------------------------------------------------------------*/


TriggerImpl::TriggerImpl( const Repository& _repository, unsigned int _checkInterval )
	:	m_repository( _repository )
	,	m_checkInterval( _checkInterval )
{
}


/*---------------------------------------------------------------------------*/


TriggerImpl::~TriggerImpl()
{
}


/*---------------------------------------------------------------------------*/


const Repository&
TriggerImpl::getRepository() const
{
	return m_repository;
}


/*---------------------------------------------------------------------------*/


unsigned int
TriggerImpl::getCheckInterval() const
{
	return m_checkInterval;
}


/*---------------------------------------------------------------------------*/


void
TriggerImpl::setCheckInterval( unsigned int _checkInterval )
{
	m_checkInterval = _checkInterval;
}


/*---------------------------------------------------------------------------*/

} // namespace ProjectManager
